package com.dht.xiao.jianye.command.base.callback;


import com.dht.xiao.jianye.command.base.exception.DlcSerialPortException;
import com.dht.xiao.jianye.command.base.serialport.CmdPack;

/**
 * 接口回调
 *
 * @param <T>
 */
public interface DlcSerivalPortCallback<T> {
    void onStart(CmdPack cmdPack);
    void onSuccess(T t);

    void onFailed(DlcSerialPortException dLCException);
}
